from django.db import models


class Leak(models.Model):
    """漏洞信息表"""
    name = models.TextField(verbose_name="漏洞名称")
    v_id = models.CharField(max_length=1024, verbose_name="漏洞ID")
    published = models.DateField(verbose_name="发布时间")
    modified = models.DateField(verbose_name="解决时间")
    severity = models.CharField(max_length=128, verbose_name="漏洞等级")
    v_type = models.CharField(max_length=128, verbose_name="漏洞类型")
    desc = models.TextField(verbose_name="漏洞描述")
